package model

type BookingAccessReq struct {
	UserId string `p:"userName" v:"required#登录用户不能为空"`
}

type BookingAccessRes struct {
	BookingLimit int `json:"bookingLimit"`
	MaxDays      int `json:"maxDays"`
}

type BookingAddReq struct {
	UserId    string `p:"userName" v:"required#登录用户不能为空"`
	Name      string `p:"name"`
	CarNum    string `p:"carNum" v:"required#车牌号不能为空"`
	StartTime string `p:"startTime" v:"required#预约开始时间不能为空"`
	EndTime   string `p:"endTime" v:"required#预约结束时间不能为空"`
	Identity  string `p:"identity"`
	Contact   string `p:"contact" v:"required#联系方式不能为空"`
	SchoolId  string `p:"school" v:"required#预约校区不能为空"`
}

type BookingAddRes struct {
	Message string `json:"msg"`
}
